258259260261262263264265266267268
Endpoint endpoint = target.getEndpoint(); if (endpoint != null) { endpoint.init(se); } ManagedLifecycle seq = target.getSequence(); if (seq != null) { seq.init(se); } } }
272273274275276277278279280281282
Endpoint endpoint = target.getEndpoint(); if (endpoint != null && endpoint.isInitialized()) { endpoint.destroy(); } ManagedLifecycle seq = target.getSequence(); if (seq != null) { seq.destroy(); } } }
154155156157158159160161162163164165166
} public void init(SynapseEnvironment se) { for (Target target : targets) { ManagedLifecycle seq = target.getSequence(); if (seq != null) { seq.init(se); } Endpoint endpoint = target.getEndpoint(); endpoint.init(se); } }
166167168169170171172173174175176177178
} public void destroy() { for (Target target : targets) { ManagedLifecycle seq = target.getSequence(); if (seq != null) { seq.destroy(); } Endpoint endpoint = target.getEndpoint(); endpoint.destroy(); } }
279280281282283284285286287288289
293294295296297298299300301302303
188189190191192193194195196197198199200
} public void init(SynapseEnvironment se) { for (Target target : targets) { ManagedLifecycle seq = target.getSequence(); if (seq != null) { seq.init(se); } Endpoint endpoint = target.getEndpoint(); if (endpoint != null) { endpoint.init(se); }
202203204205206207208209210211212213214
} public void destroy() { for (Target target : targets) { ManagedLifecycle seq = target.getSequence(); if (seq != null) { seq.destroy(); } Endpoint endpoint = target.getEndpoint(); if (endpoint != null) { endpoint.destroy(); }
185186187188189190191192193194195196197
199200201202203204205206207208209210211